<?php
require_once '../sub/init.php';
if(ifint($cook_uid)){
	$currfields = 'sex,grade';
	$cook_grade = intval($row['grade']);
	$cook_sex   = intval($row['sex']);
	require_once ZEAI.'m/my_chk_u.php';
}else{
	require_once ZEAI.'sub/conn.php';
}
if(@!in_array('xqcard',$navarr))zeaialert('{"title":"相亲卡功能已打烊","btnt":"我知道了","url":"-1"}');
?>
<!doctype html><html><head><meta charset="utf-8">
<title>相亲卡</title>
<?php echo HEADMETA; ?>
<link href="<?php echo RES;?>m/css/m.css?<?php echo $_ZEAI['cache_str'];?>" rel="stylesheet" type="text/css" />
<link href="<?php echo RES;?>m/css/my_card.css?<?php echo $_ZEAI['cache_str'];?>" rel="stylesheet" type="text/css" />
<script src="<?php echo RES;?>www_zeai_cn.js?<?php echo $_ZEAI['cache_str'];?>"></script>
<script src="<?php echo RES;?>m/js/m.js?<?php echo $_ZEAI['cache_str'];?>"></script>
<style>
.tabmenu a.ed{color:<?php echo $_ZEAI['mob_mbcolor'];?>}
.tabmenu a.ed:after{background-color:<?php echo $_ZEAI['mob_mbcolor'];?>}
header.bgcolor{background-color:<?php echo $_ZEAI['mob_mbcolor'];?>}
header.yunbox .Y {background-color:<?php echo $_ZEAI['mob_mbcolor'];?>}
.CARD{background-color:<?php echo $_ZEAI['mob_mbcolor'];?>}
<?php if($submitok == 'my_card_detail'){?>
body{background:#000}
<?php }?>
</style>
<script src="<?php echo RES;?>html2canvas.js"></script>    
<script src="<?php echo RES;?>html2canvas_img.js"></script>
</head><body>
<?php
/*card_detail*/
if($submitok == 'my_card_detail'){
	if(!ifint($cardid))exit(JSON_ERROR);
	$card_uid = (ifint($uid))?$uid:$cook_uid;
	require_once ZEAI.'cache/udata.php';$kf_wxpic=dataIO($_ZEAI['kf_wxpic'],'out'); 
	$fields  = "grade,sex,photo_s,photo_f,birthday,areatitle,area2title,love,heigh,weigh,edu,pay,house,car,child,blood,pay,job,admid,marrytime,companykind,smoking,drink,marrytime,photo_ifshow,RZ";
	$row = $db->NAME($card_uid,$fields);
	$grade      = $row['grade'];
	$sex        = $row['sex'];
	$photo_s    = $row['photo_s'];
	$photo_f    = $row['photo_f'];
	$birthday   = $row['birthday'];
	$areatitle  = dataIO($row['areatitle'],'out');
	$heigh      = $row['heigh'];
	$weigh      = $row['weigh'];
	$love       = $row['love'];
	$edu        = $row['edu'];
	$pay        = $row['pay'];
	$job        = $row['job'];
	$house      = $row['house'];
	$car        = $row['car'];
	$child      = $row['child'];
	$blood      = $row['blood'];
	$RZ         = $row['RZ'];$RZarr=explode(',',$RZ);
	if(in_array('identity',$RZarr)){
		$rzimg=RES.'cert_identity.png?'.$_ZEAI['cache_str'];
	}elseif(in_array('photo',$RZarr)){
		$rzimg=RES.'cert_photo.png?'.$_ZEAI['cache_str'];
	}else{
		$rzimg = '';	
	}
	//
	$admid        = intval($row['admid']);
	$marrytime    = $row['marrytime'];
	$companykind  = $row['companykind'];
	$area2title  = dataIO($row['area2title'],'out');
	$smoking  = $row['smoking'];
	$drink    = $row['drink'];
	$photo_ifshow = $row['photo_ifshow'];
	$area_s_title = explode(' ',$areatitle);
	$area_s_title1 = $area_s_title[0];
	$area_s_title2 = $area_s_title[1];
	$area_s_title3 = $area_s_title[2];
	if(!empty($area_s_title3)){
		$area_s_title=$area_s_title3;
	}elseif(!empty($area_s_title2)){
		$area_s_title=$area_s_title2;
	}elseif(!empty($area_s_title1)){
		$area_s_title=$area_s_title1;
	}else{$area_s_title='';}
	$area_s_title2 = $area2title;
	$sex_str2 = udata('sex',$sex);
	$marrytime_str=udata('marrytime',$marrytime);
	//红娘牵线
	$rowhn = $db->ROW(__TBL_CRM_HN__,"ewm","flag=1 AND ewm<>'' AND ifwebshow=1 AND id=".intval($cook_admid)." ORDER BY rand() LIMIT 1",'name');
	if (!$rowhn){
		$rowhn = $db->ROW(__TBL_CRM_HN__,"ewm","flag=1 AND ewm<>'' AND ifwebshow=1 AND id=".$admid." ORDER BY rand() LIMIT 1",'name');
		if (!$rowhn)$rowhn = $db->ROW(__TBL_CRM_HN__,"ewm","flag=1 AND ewm<>'' AND ifwebshow=1 ORDER BY rand() LIMIT 1",'name');
	}
	if ($rowhn)$kf_wxpic = $rowhn['ewm'];
	$birthday_str  = (!empty($birthday) && $birthday!='0000-00-00')?getage($birthday).'岁':'';
	$photo_flag=photo_s_out('{"sex":"'.$sex.'","photo_s":"'.$photo_s.'","photo_f":"'.$photo_f.'","photo_ifshow":"'.$photo_ifshow.'","uflag":"'.$uflag.'","outkind":"flag"}');
	if (!empty($photo_s) && $photo_f == 1){
		$photo_s_url = $_ZEAI['up2']."/".$photo_s;
		$photo_m_url = smb($photo_s_url,'m');
		if($photo_ifshow==0 || !$photo_flag){
			$photo_s_url = smb($photo_s_url,'blur');
			$photo_m_url = $photo_s_url;
		}
		$photo_m_str = '<img src="'.$photo_m_url.'" class="m">';
		$photo_ewm_s_url = $photo_s_url;
		$photo_b_url = smb($photo_s_url,'b');
	}else{
		$photo_m_url = RES.'photo_m'.$sex.'.png';
		$photo_m_str = '<img src="'.RES.'photo_m'.$sex.'.png" class="m">';
		$photo_ewm_s_url = RES.'photo_s'.$sex.'.png';
		$photo_b_url = RES.'photo_m'.$sex.'.png';
	}
	$grade_str=($grade>1)?'VIP':'';
	$bigextname=($cardid==11 || $cardid==12 || $cardid==13 || $cardid==14)?'.png':'.jpg';
	if($cardid == 11 || $cardid == 12){
		$cardbox_cls=' cardbox'.$cardid;
	}elseif($cardid == 13 || $cardid == 14){
		$cardbox_cls=' cardbox134';
	}?>
    <style>
	.newm_pic1_10{width:120px;height:120px;object-fit:cover;-webkit-object-fit:cover}
	.newm_pic11{width:100%;height:100%;object-fit:cover;-webkit-object-fit:cover}
	img.rzpic{width:7rem;position:absolute;z-index:2}	
    </style>
    <i class='ico Ugoback' onClick="zeai.back();">&#xe602;</i>
	<div class="my_card_detail" id="card_detail">
		<div class="cardbox<?php echo $cardbox_cls;?>">
        	<div class="card" id="cardcontent">
                <img src="<?php echo RES;?>my_card/<?php echo $cardid.$bigextname.'?'.$_ZEAI['cache_str'];?>" class="mb" id="my_cardbigpic"><!--www_zeai_cn_V9.0-->
                <?php if (!empty($rzimg) && in_array($cardid,array(11,12,13,14))){?><img src="<?php echo $rzimg;?>" class="rzpic" style="right:2rem;top:1.8rem;" /><?php }?>
                <?php if ($cardid == 11){?>
                	<div class="newb" style="background-image:url('<?php echo $photo_b_url;?>');"><img src="<?php echo $photo_b_url;?>" ></div>
                    <div class="sex11"><?php echo $sex_str2;?></div>
                    <div class="uid11">相亲卡卡号<br /><?php echo $card_uid;?></div>
                    <div class="dl">
                    	<dt><em class="photo_m11" style="background:url('<?php echo $photo_m_url;?>');background-position:center center;background-size:cover;overflow:hidden">
                        <img src="<?php echo $photo_m_url;?>" class="newm_pic1_11">
                        </em></dt>
                        <dd>
                        	<li><h5>生年</h5><span><?php if (!empty($birthday) && $birthday!='0000-00-00'){echo substr($birthday,0,4);}?></span></li>
                        	<li><h5>婚况</h5><span><?php echo udata('love',$love);?></span></li>
                        	<li><h5>学历</h5><span><?php echo udata('edu',$edu);?></span></li>
                        	<li><h5>身高</h5><span><?php echo udata('heigh',$heigh);?></span></li>
                        	<li><h5>月薪</h5><span style="font-size:14px"><?php echo udata('pay',$pay);?></span></li>
                        	<li><h5>地区</h5><span><?php echo $area_s_title;?></span></li>
                        </dd>
                    </div>
                    <div class="dlmore">
						<?php if (!empty($birthday) && $birthday!='0000-00-00'){?>
                            <li>属<?php echo getbirthpet($birthday);?></li>
                            <li><?php echo getstar($birthday);?></li>
                        <?php }?>
                        <?php if (!empty($child)){?><li><?php echo udata('child',$child);?></li><?php }?>
                        <?php if (!empty($area2title)){?><li>户籍<?php echo $area_s_title2;?></li><?php }?>
                        <?php if (!empty($job)){?><li>职业<?php echo udata('job',$job);?></li><?php }?>
                        <?php if (!empty($companykind)){?><li><?php echo udata('companykind',$companykind);?></li><?php }?>
                        <?php if (!empty($house)){?><li><?php echo udata('house',$house);?></li><?php }?>
                        <?php if (!empty($car)){?><li><?php echo udata('car',$car);?></li><?php }?>
                        <?php if (!empty($smoking)){?><li style="display:none"><?php echo udata('smoking',$smoking);?></li><?php }?>
                        <?php if (!empty($drink)){?><li style="display:none"><?php echo udata('drink',$drink);?></li><?php }?>
                        <?php if (!empty($marrytime) && $marrytime_str!='不限'){?><li>期望<?php echo $marrytime_str;?>结婚</li><?php }?>
                    </div>
                    <div class="ewm11">
						<?php if (!empty($kf_wxpic) ){?><img src="<?php echo UP.$kf_wxpic;?>?<?php echo $_ZEAI['cache_str'];?>" id="card_ewm" class="hnewm"><font id="ewmtitle">长按加红娘微信</font><?php }else{?>
                        <img src="<?php echo HOST.'/sub/creat_ewm.php?url='.a('{"kind":"u","uid":"'.$card_uid.'"}');?>" id="card_ewm" class="uewm"><font id="ewmtitle">长按识别二维码<br>马上认识Ta</font>
                        <?php }?>
					</div>
                    <div class="sitename">－<?php echo $_ZEAI['siteName'];?>提供－</div>
                <?php }elseif($cardid == 12){ ?>
                	<div class="newb" style="background-image:url('<?php echo $photo_b_url;?>')"><img src="<?php echo $photo_b_url;?>" ></div>
                    <div class="uid12">相亲卡卡号:<?php echo $card_uid;?></div>
                    <div class="dl">
                        <dd>
                        	<li><h5>性别</h5><span><?php echo $sex_str2;?></span></li>
                        	<li><h5>生年</h5><span><?php if (!empty($birthday) && $birthday!='0000-00-00'){echo substr($birthday,0,4);}?></span></li>
                        	<li><h5>婚况</h5><span><?php echo udata('love',$love);?></span></li>
                        	<li><h5>身高</h5><span><?php echo udata('heigh',$heigh);?></span></li>
                        	<li><h5>学历</h5><span><?php echo udata('edu',$edu);?></span></li>
                        	<li><h5>地区</h5><span><?php echo $area_s_title;?></span></li>
                        </dd>
                        <dt><em class="photo_m11" style="background:url('<?php echo $photo_m_url;?>');background-position:center center;background-size:cover;overflow:hidden"><img src="<?php echo $photo_m_url;?>" class="newm_pic11"></em></dt>
                    </div>
                    <div class="dlmore">
						<?php if (!empty($birthday) && $birthday!='0000-00-00'){?>
                            <li>属<?php echo getbirthpet($birthday);?></li>
                            <li><?php echo getstar($birthday);?></li>
                        <?php }?>
                        <?php if (!empty($child)){?><li><?php echo udata('child',$child);?></li><?php }?>
                        <?php if (!empty($area2title)){?><li>户籍<?php echo $area_s_title2;?></li><?php }?>
                        <?php if (!empty($pay)){?><li>月薪<?php echo udata('pay',$pay);?></li><?php }?>
                        <?php if (!empty($job)){?><li>职业<?php echo udata('job',$job);?></li><?php }?>
                        <?php if (!empty($companykind)){?><li><?php echo udata('companykind',$companykind);?></li><?php }?>
                        <?php if (!empty($house)){?><li><?php echo udata('house',$house);?></li><?php }?>
                        <?php if (!empty($car)){?><li><?php echo udata('car',$car);?></li><?php }?>
                        <?php if (!empty($smoking)){?><li style="display:none"><?php echo udata('smoking',$smoking);?></li><?php }?>
                        <?php if (!empty($drink)){?><li style="display:none"><?php echo udata('drink',$drink);?></li><?php }?>
                        <?php if (!empty($marrytime) && $marrytime_str!='不限'){?><li>期望<?php echo $marrytime_str;?>结婚</li><?php }?>
                    </div>
                    <div class="ewm12">
						<?php if (!empty($kf_wxpic) ){?><img src="<?php echo UP.$kf_wxpic;?>?<?php echo $_ZEAI['cache_str'];?>" id="card_ewm" class="hnewm"><font id="ewmtitle">长按加红娘微信</font><?php }else{?>
                        <img src="<?php echo HOST.'/sub/creat_ewm.php?url='.a('{"kind":"u","uid":"'.$card_uid.'"}');?>" id="card_ewm" class="uewm"><font id="ewmtitle">长按识别二维码<br>马上认识Ta</font>
                        <?php }?>
					</div>
                    <div class="sitename">－<?php echo $_ZEAI['siteName'];?>提供－</div>
                    
                <?php }elseif($cardid == 13 || $cardid == 14){?>
                	<div class="newb" style="background-image:url('<?php echo $photo_b_url;?>')"><img src="<?php echo $photo_b_url;?>"></div>
                	<div class="uid uid<?php echo $cardid;?>"><?php echo '相亲卡号：'.$card_uid;?></div>
                    <div class="data data<?php echo $cardid;?>">
                        <li><?php echo $sex_str2;?></li>
                        <?php if (!empty($birthday) && $birthday!='0000-00-00'){echo '<li>'.substr($birthday,0,4);?>年</li><?php }?>
                        <?php if (!empty($birthday) && $birthday!='0000-00-00'){?>
                            <li>属<?php echo getbirthpet($birthday);?></li>
                            <li><?php echo getstar($birthday);?></li>
                        <?php }?>
                        <?php if (!empty($areatitle)){?><li>在<?php echo $area_s_title;?>工作 </li><?php }?>
                        <?php if (!empty($area2title)){?><li>户籍<?php echo $area_s_title2;?> </li><?php }?>
                        <?php if (!empty($love)){?><li><?php echo udata('love',$love);?><?php if (!empty($child)){?>(<?php echo udata('child',$child);?>)<?php }?></li><?php }?>
                        <?php if (!empty($heigh)){?><li>身高<?php echo udata('heigh',$heigh);?></span></li><?php }?>
                        <?php if (!empty($edu)){?><li>学历<?php echo udata('edu',$edu);?></li><?php }?>
                        <?php if (!empty($job)){?><li>职业<?php echo udata('job',$job);?></li><?php }?>
                        <?php if (!empty($companykind)){?><li><?php echo udata('companykind',$companykind);?></li><?php }?>
                        <?php if (!empty($pay)){?><li>月收入<?php echo udata('pay',$pay);?></li><?php }?>
                        <?php if (!empty($house)){?><li><?php echo udata('house',$house);?></li><?php }?>
                        <?php if (!empty($car)){?><li><?php echo udata('car',$car);?></li><?php }?>
                        <?php if (!empty($marrytime) && $marrytime_str!='不限'){?><li>期望<?php echo $marrytime_str;?>结婚</li><?php }?>
                    </div>
                    <?php if (!empty($kf_wxpic) ){?><img src="<?php echo UP.$kf_wxpic;?>?<?php echo $_ZEAI['cache_str'];?>" id="card_ewm" class="hnewm"><?php }?>
                <?php }else{?>
                        <div class="newm" style="width:120px;height:120px;overflow:hidden"><img src="<?php echo $photo_m_url;?>" class="newm_pic1_10"></div>
                        <div class="uid"><?php  echo $grade_str.'相亲卡号：'.$card_uid;?></div>
                        <div class="me">
                            <li><?php echo $sex_str2;?></li>
                            <?php if (!empty($birthday) && $birthday!='0000-00-00'){echo '<li>'.substr($birthday,0,4);?>年</li><?php }?>
                            <?php if (!empty($birthday) && $birthday!='0000-00-00'){?>
                                <li>属<?php echo getbirthpet($birthday);?></li>
                                <li><?php echo getstar($birthday);?></li>
                            <?php }?>
                            <?php if (!empty($areatitle)){?><li>在<?php echo $area_s_title;?>工作</li><?php }?>
                            <?php if (!empty($area2title)){?><li>户籍<?php echo $area_s_title2;?></li><?php }?>
                            <?php if (!empty($love)){?><li><?php echo udata('love',$love);?><?php if (!empty($child)){?>（<?php echo udata('child',$child);?>）<?php }?></li><?php }?>
                            <?php if (!empty($heigh)){?><li>身高<?php echo udata('heigh',$heigh);?></span></li><?php }?>
                            <?php if (!empty($edu)){?><li>学历<?php echo udata('edu',$edu);?></li><?php }?>
                            <?php if (!empty($job)){?><li>职业<?php echo udata('job',$job);?></li><?php }?>
                            <?php if (!empty($companykind)){?><li><?php echo udata('companykind',$companykind);?></li><?php }?>
                            <?php if (!empty($pay)){?><li>月收入<?php echo udata('pay',$pay);?></li><?php }?>
                            <?php if (!empty($house)){?><li><?php echo udata('house',$house);?></li><?php }?>
                            <?php if (!empty($car)){?><li><?php echo udata('car',$car);?></li><?php }?>
                            <?php if (!empty($smoking)){?><li><?php echo udata('smoking',$smoking);?></li><?php }?>
                            <?php if (!empty($drink)){?><li><?php echo udata('drink',$drink);?></li><?php }?>
                            <?php if (!empty($marrytime) && $marrytime_str!='不限'){?><li>期望<?php echo $marrytime_str;?>结婚</li><?php }?>
                        </div>
                        <div class="you" style="display:none"><?php echo $mate_li_out;?></div>
                        <div class="ewm">
                            <?php if (!empty($kf_wxpic) ){?><img src="<?php echo UP.$kf_wxpic;?>?<?php echo $_ZEAI['cache_str'];?>" id="card_ewm" class="hnewm"><font id="ewmtitle">加红娘微信1对1牵线</font><?php }else{?>
                            <img src="<?php echo HOST.'/sub/creat_ewm.php?url='.a('{"kind":"u","uid":"'.$card_uid.'"}');?>" id="card_ewm" class="uewm"><font id="ewmtitle">长按识别二维码<br>马上认识Ta</font>
                            <?php }?>
                        </div>
                        <div class="sitename"><?php echo $_ZEAI['siteName'];?>提供</div>
                        <?php if (!empty($rzimg)){?><img src="<?php echo $rzimg;?>" class="rzpic" style="right:5rem;bottom:5rem;" /><?php }?>
                <?php }?>
			</div>
                <button type="button"  class="btn size4 makebtn" id="makecard">生成相亲卡</button>
                <button type="button"  class="btn size4 ewmkind" id="ewmkind"<?php /*if (empty($kf_wxpic) ){echo ' style="display:none"';}*/?>>个人二维码</button>
        </div>
        <div class="cardbox_view" id="cardbox_view"></div>
	</div>
	<script src="<?php echo RES;?>m/js/my_card.js?<?php echo $_ZEAI['cache_str'];?>"></script>
    <script>
	var uhref='<?php echo a('{"kind":"u","uid":"'.$card_uid.'"}');?>',kf_wxpic='<?php echo UP.$kf_wxpic;?>',cardid=<?php echo $cardid;?>,uid=<?php echo $card_uid;?>;
	<?php
	if ($cardid == 11 || $cardid == 12 || $cardid == 13|| $cardid == 14){?>
		window.onload=function(e){
			cardcontent.style.height=my_cardbigpic.height+'px';
		}
	<?php }else{ ?>
		var card=o('cardcontent').children,photo_m=card[0],newm=card[1],uidbox=card[2],me=card[3],you=card[4],ewm=card[5],sitename=card[6],defm='<?php echo $photo_m_url;?>';
			window.onload=function(){
				var js=get_mLTW(cardid);
				var W=photo_m.offsetWidth;
				var l=js.l*W;t=js.t*W;w=js.w*W;
				newm.style.width=w+'px';newm.style.height=newm.style.width;newm.style.left=l+'px';newm.style.top=t+'px';newm.style.backgroundImage='url('+defm+')';
				uidbox.style.top=parseInt(js.uid_t*W)+'px';uidbox.style.color=js.uid_color;
				me.style.top=parseInt(js.me_t*W)+'px';me.style.color=js.uid_color;
				you.style.top=parseInt(js.you_t*W)+'px';you.style.color=js.uid_color;
				ewm.style.top=parseInt(js.ewm_t*W)+'px';ewm.style.color=js.ewm_color;
				sitename.style.top=parseInt(js.sitename_t*W)+'px';sitename.style.color=js.sitename_color;
			}
	<?php }?>
	ewmkind.onclick=ewmkindFn;
	cardcontent.addEventListener('touchmove',function(e) {e.preventDefault();});
	function makecardFn_lht() {
		zeai.msg('<img src="'+HOST+'/res/loadingData.gif" class="middle">正在生成',{time:10})
		html2canvas(cardcontent).then(function(canvas) {
			var cW=canvas.width,cH=canvas.height;
			var img = Canvas2Image.convertToImage(canvas,cW, cH);
			<?php if(is_h5app()){?>
				zeai.msg(0);
				app_save_share({durl:HOST,data:img.src,uid:<?php echo ifint($cook_tg_uid)?$cook_tg_uid:0;?>});					
			<?php }else{?>
				cardbox_view.html('');
				img.style.width='80%';
				cardbox_view.append(img);
				img.onload=function(){
					zeai.msg(0);
					setTimeout(function(){
						ZeaiM.div_pic({fobj:o(card_detail),obj:cardbox_view,title:'',w:cardbox_view.offsetWidth/10,h:cardbox_view.offsetHeight/10,fn:function(){
							if(!zeai.empty(o('cardbox_view')))o('cardbox_view').html('');
						}});
						zeai.msg('长按图片保存到手机，发送/分享给朋友');
					},200);
				}
			<?php }?>
		});
	}
	makecard.onclick=makecardFn_lht;
    </script>
    </body></html>
<?php exit;}?>


<!--主体-->
<?php 
$mini_class='top_mini4 bgcolor';// yunbox
//$mini_href = (!empty($jumpurl))?'zeai.openurl(\''.dataIO($jumpurl,'out').'\')':'';
$mini_title='点击模版生成相亲卡';
require_once ZEAI.'m/top_mini.php';?>
<div class="CARD">
	<div class="topbg">
    	<ul id="zeai_xqk">
            <li value="13"><img src="<?php echo RES;?>my_card/13_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
            <li value="14"><img src="<?php echo RES;?>my_card/14_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
            <li value="11"><img src="<?php echo RES;?>my_card/11_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
            <li value="12"><img src="<?php echo RES;?>my_card/12_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
            <li value="3"><img src="<?php echo RES;?>my_card/3_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
            <li value="4"><img src="<?php echo RES;?>my_card/4_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
			<li value="9"><img src="<?php echo RES;?>my_card/9_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
            <li value="10"><img src="<?php echo RES;?>my_card/10_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
			<li value="2"><img src="<?php echo RES;?>my_card/2_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
			<li value="1"><img src="<?php echo RES;?>my_card/1_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
			<li value="5"><img src="<?php echo RES;?>my_card/5_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
			<li value="6"><img src="<?php echo RES;?>my_card/6_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
			<li value="7"><img src="<?php echo RES;?>my_card/7_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
			<li value="8"><img src="<?php echo RES;?>my_card/8_s.jpg?<?php echo $_ZEAI['cache_str'];?>"></li>
        </ul>
    </div>
    <div class="clear"></div>
</div>
<script src="<?php echo RES;?>m/js/my_card.js?<?php echo $_ZEAI['cache_str'];?>"></script>
<script>zeai_xqkFn(<?php echo (ifint($uid))?$uid:$cook_uid;?>);</script>
<div class="blank"></div>
<?php require_once ZEAI.'m/TRnav.php';?>
</body></html>